﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<SinBiota.Model.Entities.TaxonomicRank>>" %>

<%@ Import Namespace="Localization" %>

<%@ Import Namespace="SinBiota.Model.Entities" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%: Strings.TaxonomicRank %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%: Strings.TaxonomicRank %></h2>
    <table>
    <thead>
        <tr class="header">
            <th>
            <%: Html.LabelFor(model => model.First().Rank) %>
            </th>
            <th>
                <%: Html.LabelFor(model => model.First().Name) %>
            </th>
        </tr>
        </thead>
        <% foreach (var item in Model)
           { %>
        <tr>
            <td>
                <%: item.Rank %>
            </td>
            <td>
                <%: item.Name %>
            </td>
        </tr>
        <% } %>
    </table>
</asp:Content>
